const { logger } = require('../../middlewares/log4js');

module.exports = function (router, services) {
  router.get('/', async (ctx, next) => {
    logger.warn('hhh')
    var info = await services.userInfo();
    var address = await services.userAddress();
    ctx.body = JSON.stringify({
      info,
      address
    });
    await next()
  })

}
